const state = {
  activityList: {
    showTitle: true,
    activityNum: "4",
    clickIndex: -1,
    clickUrl: "",
    clickTitle: "",
    clickText: "",
    clickColor: "",
    background: "#ffffff",
    headline: "热门活动",
    data: [
      {
        imgUrl: require("@/assets/config_images/cp.png"),
        title: "茵曼箱包",
        text: "爆款五折起",
        link: "",
        linkName: "",
        background: "rgba(171, 6, 229, 1)"
      },
      {
        imgUrl: require("@/assets/config_images/cp.png"),
        title: "茵曼箱包",
        text: "爆款五折起",
        link: "",
        linkName: "",
        background: "rgba(171, 6, 229, 1)"
      },
      {
        imgUrl: require("@/assets/config_images/cp.png"),
        title: "茵曼箱包",
        text: "爆款五折起",
        link: "",
        linkName: "",
        background: "rgba(171, 6, 229, 1)"
      },
      {
        imgUrl: require("@/assets/config_images/cp.png"),
        title: "茵曼箱包",
        text: "爆款五折起",
        link: "",
        linkName: "",
        background: "rgba(171, 6, 229, 1)"
      }
    ]
  }
}

const mutations = {
  SET_OBJ: (state, data) => {
    state.activityList = data;
  },
  SET_Data: (state, data) => {
    state.activityList.data = data;
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
